package com.ruoyi.business.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 支付订单对象 biz_pay_order
 * 
 * @author ruoyi
 * @date 2020-10-09
 */
public class BizPayOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 兑现订单ID */
    private Long id;

    /** 会员ID */
    @Excel(name = "会员ID")
    private Long memberId;

    /** 支付平台 */
    @Excel(name = "支付平台")
    private String tradePlat;

    /** 订单号 */
    @Excel(name = "订单号")
    private String tradeNo;

    /** 交易号 */
    @Excel(name = "交易号")
    private String transactionId;

    /** 交易金额 */
    @Excel(name = "交易金额")
    private BigDecimal tradeNum;

    /** 支付宝form */
    private String zfbForm;

    /** 交易状态 */
    @Excel(name = "交易状态")
    private Integer tradeState;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMemberId(Long memberId) 
    {
        this.memberId = memberId;
    }

    public Long getMemberId() 
    {
        return memberId;
    }
    public void setTradePlat(String tradePlat) 
    {
        this.tradePlat = tradePlat;
    }

    public String getTradePlat() 
    {
        return tradePlat;
    }
    public void setTradeNo(String tradeNo) 
    {
        this.tradeNo = tradeNo;
    }

    public String getTradeNo() 
    {
        return tradeNo;
    }
    public void setTransactionId(String transactionId) 
    {
        this.transactionId = transactionId;
    }

    public String getTransactionId() 
    {
        return transactionId;
    }
    public void setTradeNum(BigDecimal tradeNum) 
    {
        this.tradeNum = tradeNum;
    }

    public BigDecimal getTradeNum() 
    {
        return tradeNum;
    }
    public void setTradeState(Integer tradeState) 
    {
        this.tradeState = tradeState;
    }

    public Integer getTradeState() 
    {
        return tradeState;
    }

    public String getZfbForm() {
        return zfbForm;
    }

    public void setZfbForm(String zfbForm) {
        this.zfbForm = zfbForm;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("memberId", getMemberId())
            .append("tradePlat", getTradePlat())
            .append("tradeNo", getTradeNo())
            .append("transactionId", getTransactionId())
            .append("tradeNum", getTradeNum())
            .append("tradeState", getTradeState())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
